"use strict";

var control = document.getElementById("a").$control;

console.log(control);

control.on("scrollEnd", function (e) {
    var index = control.getSelectedIndex();
    console.log("scrollend", e, index);
});